/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.spms.service.dao;

import com.wisnu.spms.service.entity.DbStudent;
import java.util.List;

/**
 *
 * @author Wisnu Wardoyo
 */
public interface DbStudentDao {

    public void insertStudent(DbStudent student) throws Exception;

    public void updateStudent(DbStudent student) throws Exception;

    public void deleteStudent(DbStudent student) throws Exception;

    public DbStudent getStudentById(Integer id) throws Exception;
    
    public List<DbStudent> getStudentsByKeyword(String keyword) throws Exception;

    public List<DbStudent> getStudents() throws Exception;

}
